package ThreadPoolDemo.bilibiliThread;

public class test {

	public static void main(String[] args) {
		String aString = "1,2,3";
		if (aString.contains(",2")) {
			System.out.println(1);
		} else if (aString.contains("2")) {
			System.out.println(2);
		}
	}
}
